package com.lx.pc.domain.entity.sysarea;

import java.sql.Timestamp;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;

/**
 * 地区
 * @author houzhong
 *
 */
@Entity(table = "sys_area")
public class SysareaEntity extends AbstractBaseEntity{

	private static final long serialVersionUID = 1L;

	/**
	 * 区域id
	 */
	@Column(name = "area_id")
	private String areaId;
	
	/**
	 * 区域代码
	 */
	@Column(name = "area_code")
	private String areaCode;
	
	/**
	 * 父级代码，省级为0
	 */
	@Column(name = "parent_code")
	private String parentCode;
	
	/**
	 * 区域名称
	 */
	@Column(name = "name")
	private String name;
	
	/**
	 * 层级，1：省级，2：地市，3：区县
	 */
	@Column(name = "layer")
	private Integer layer;
	
	/**
	 * 排序
	 */
	@Column(name = "order_num")
	private Integer orderNum;
	
	/**
	 * 状态，1：显示，0：隐藏
	 */
	@Column(name = "status")
	private Integer status;
	
	/**
	 * 备注
	 */
	@Column(name = "remark")
	private String remark;
	
	/**
	 * 创建时间
	 */
	private Timestamp gmtCreate;

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLayer() {
		return layer;
	}

	public void setLayer(Integer layer) {
		this.layer = layer;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Timestamp getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Timestamp gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	
	
}
